const fs=require('fs')
const isex=fs.existsSync('./app.js')
if(isex){
    // fs.rmdirSync('./app')
    // fs.mkdirSync('./app')
    
    // fs.writeFileSync('./app/router.js','4444','utf-8')
    // fs.mkdirSync('./app/controller')
    // fs.writeFileSync('./app/controller/user.js','444','utf-8')
    // fs.mkdirSync('./app/extend')
    //  fs.writeFileSync('./app/extend/helper.js','444','utf-8')
    // fs.writeFileSync('./app/extend/quer.js','444','utf-8')
    // fs.mkdirSync('./app/middleware')
    // fs.writeFileSync('./app/middleware/auth.js','444','utf-8')
    // fs.mkdirSync('./app/public')
    // fs.writeFileSync('./app/public/index.html','444','utf-8')
    // fs.writeFileSync('./app/public/registry.html','444','utf-8')
    // fs.mkdirSync('./app/public/js')
    // fs.writeFileSync('./app/public/js/$.js','444','utf-8')
    // fs.writeFileSync('./app/public/js/request.js','444','utf-8')
    // fs.mkdirSync('./app/service')
    // fs.writeFileSync('./app/service/user.js','444','utf-8')
    // fs.rmdirSync('./config')
    // fs.mkdirSync('./config')
    // fs.writeFileSync('./config/config.def.js','444','utf-8')
 
}
else{
    
}